package cn.com.cetccst.datacenter.collection;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import cn.com.cetccst.datacenter.collection.dao.CollectionConfigDao;
import cn.com.cetccst.datacenter.collection.dao.CollectionDataDao;
import cn.com.cetccst.datacenter.message.dao.InboxMessageDao;
import cn.com.cetccst.datacenter.collection.dao.LocationRecordDao;
import cn.com.cetccst.datacenter.collection.dao.TestDao;
import cn.com.cetccst.datacenter.collection.entity.CollectionConfigEntity;
import cn.com.cetccst.datacenter.collection.entity.CollectionDataEntity;
import cn.com.cetccst.datacenter.message.entity.InboxMessageEntity;
import cn.com.cetccst.datacenter.collection.entity.LocationRecordEntity;
import cn.com.cetccst.datacenter.collection.entity.TestEntity;

@Database(entities = {TestEntity.class, InboxMessageEntity.class,
        LocationRecordEntity.class, CollectionDataEntity.class, CollectionConfigEntity.class}, version = 3)
public abstract class CollectionDataBase extends RoomDatabase {

    public abstract TestDao getTestDao();

    public abstract LocationRecordDao getLocationRecordDao();

    public abstract CollectionConfigDao getCollectionConfigDao();

    public abstract CollectionDataDao getCollectionDataDao();
}
